package com.ysd.twocrm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;

//跟踪表
public class Tailafter {

    @TableId(value = "tid",type = IdType.AUTO)
    private Integer tid;

    private Integer userId;//被跟踪的用户id

    private String userName;//被跟踪的用户姓名

    private Date tbegintime;//开始时间

    private  String tcontent ;//跟踪内容

    private Integer tstatus;//状态

    private String userTailafterName;//跟踪者姓名

    private Integer exit1;//备用字段1

    private String exit2;//备用字段2

    public Tailafter() {
        super();
    }

    @Override
    public String toString() {
        return "Tailafter{" +
                "tid=" + tid +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", tbegintime=" + tbegintime +
                ", tcontent='" + tcontent + '\'' +
                ", tstatus=" + tstatus +
                ", userTailafterName='" + userTailafterName + '\'' +
                ", exit1=" + exit1 +
                ", exit2='" + exit2 + '\'' +
                '}';
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getTbegintime() {
        return tbegintime;
    }

    public void setTbegintime(Date tbegintime) {
        this.tbegintime = tbegintime;
    }

    public String getTcontent() {
        return tcontent;
    }

    public void setTcontent(String tcontent) {
        this.tcontent = tcontent;
    }

    public Integer getTstatus() {
        return tstatus;
    }

    public void setTstatus(Integer tstatus) {
        this.tstatus = tstatus;
    }

    public String getUserTailafterName() {
        return userTailafterName;
    }

    public void setUserTailafterName(String userTailafterName) {
        this.userTailafterName = userTailafterName;
    }

    public Integer getExit1() {
        return exit1;
    }

    public void setExit1(Integer exit1) {
        this.exit1 = exit1;
    }

    public String getExit2() {
        return exit2;
    }

    public void setExit2(String exit2) {
        this.exit2 = exit2;
    }

    public Tailafter(Integer tid, Integer userId, String userName, Date tbegintime, String tcontent, Integer tstatus, String userTailafterName, Integer exit1, String exit2) {
        this.tid = tid;
        this.userId = userId;
        this.userName = userName;
        this.tbegintime = tbegintime;
        this.tcontent = tcontent;
        this.tstatus = tstatus;
        this.userTailafterName = userTailafterName;
        this.exit1 = exit1;
        this.exit2 = exit2;
    }
}
